#ifndef __TCP_CLIENT_H__
#define __TCP_CLIENT_H__
#include<string>
class IpAddressPort;
class Msg;
class TcpClient
{
private:
    int m_sfd;
public:
    TcpClient(const IpAddressPort &);
    ~TcpClient();
    /* return value is bytes number of sending */
    int SendMsg(const std::string & msg);
    /* return value is bytes number of recving */
    Msg RecvMsg();
};

#endif